package com.herongo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodHeadImg {
    private static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    private Integer headId;
    private Integer goodId;//商品id
    private String headImgUrl;//商品轮播图
    private Integer headImgRanking;//商品轮播图顺序
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatAt;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyAt;//修改时间


}
